<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;



/**
 * App\UserCoupon
 *
 * @property int $id 自增id
 * @property int $user_id 用户标识
 * @property int $coupon_id 优惠券id
 * @property string|null $name 优惠券名称
 * @property float $money 优惠券金额
 * @property string|null $type 优惠券类型 direct 直接优惠/satisfy 满金额优惠
 * @property int $satisfy_money 满足优惠需要的金额
 * @property string|null $start_time 开始时间
 * @property string|null $end_time 结束时间
 * @property int $is_use 是否使用 0：未使用1：已使用
 * @property int $is_locking 是否锁定 0：不锁定 1：已锁定
 * @property int $img_id 图片
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\UserCoupon onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereCouponId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereIsLocking($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereIsUse($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereSatisfyMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereStartTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserCoupon whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserCoupon withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserCoupon withoutTrashed()
 * @mixin \Eloquent
 */
class UserCoupon extends Model
{
    protected $table = "user_coupon";
    use SoftDeletes;
}
